from info.uitls.captcha.captcha import captcha
from . import passport_blue

@passport_blue.route('/image_code')
def image_code():

    print("*"*50)
    name,text,image_data = captcha.generate_captcha()
    print(image_data)
    return image_data

@passport_blue.route('/register', methods=['POST'])
def register():
    pass